
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr>
		<td>
			<span style="float: left;">后台管理中心&nbsp;&raquo;&nbsp;用户管理</span>
			<span style="float: right;">
				<a href="javascript:history.go(-1);">&lt;- 返回</a>
			</span>
		</td>
	</tr>
</table>

<form action="./?controller=user&action=addPost" method="post" onsubmit="return confirmPassword(this);">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr class="header">
		<td colspan="11">添加用户 (标*号的必填)</td>
	</tr>
	<tr>
		<td class="altbg1">用户名 *</td>
		<td class="altbg2">
			<input class="input" name="username" maxlength=16 />
		</td>
	</tr>
	<tr>
		<td class="altbg1">密码 *</td>
		<td class="altbg2">
			<input class="input" type="password" name="password" maxlength=16 />
		</td>
	</tr>
	<tr>
		<td class="altbg1">密码确认 *</td>
		<td class="altbg2">
			<input class="input" type="password" name="passwordConfirm" maxlength=16 />
		</td>
	</tr>
	<tr>
		<td class="altbg1">群组 *</td>
		<td class="altbg2">
			<select name="groupid">
<?php
foreach ($this->groupData as $groupRow)
{
	$groupid	= $groupRow['id'];
	$groupname	= $groupRow['name'];
	
	echo <<<EOF
				<option value="$groupid">$groupname</option>
EOF;
}
?>
			</select>
		</td>
	</tr>
	<tr>
		<td class="altbg1">真实姓名</td>
		<td class="altbg2">
			<input class="input" name="realname" maxlength=16 />
		</td>
	</tr>
	<tr>
		<td class="altbg1" colspan=2 align="center">
			<input class="button" type="submit" value="确定" />
			&nbsp;
			<input class="button" type="reset" value="重置" />
		</td>
	</tr>
</table>
</form>
